export const useConfirmModal = defineStore('showConfirmModal', () => {
  const displayCM = ref(false);
  const tgxmOpenTitle = ref('');
  const setDisplayCM = boolean => {
    displayCM.value = boolean;
  };
  const setOpenTitle = val => {
    tgxmOpenTitle.value = val;
  };
  return {
    displayCM,
    setDisplayCM,
    tgxmOpenTitle,
    setOpenTitle,
  };
});
